const today = new Date();
function formatDate(date: Date) {
  return Intl.DateTimeFormat('en-US', {
    weekday: 'long',
    year: 'numeric',
    month: 'long',
    day: 'numeric',
  }).format(date);
}

export default function TodoList() {
  return (
    <h1>To do list for {formatDate(today)}</h1>
  );
}